package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.model.dao.console.DeviceRemainStatistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceRemainStatisticsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DeviceRemainStatistics record);

    int insertSelective(DeviceRemainStatistics record);

    DeviceRemainStatistics selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DeviceRemainStatistics record);

    int updateByPrimaryKey(DeviceRemainStatistics record);

    List<DeviceRemainStatistics> getRemainDeviceList(@Param("startTime") String startTime,
                                               @Param("endTime") String endTime,
                                               @Param("appName") String appName,
                                               @Param("channel") String channel,
                                               @Param("appVersion") String appVersion,
                                               @Param("system") String system
    );

}